/*
 * Copyright (C) 2018 Logos Technology Ltd.
 */

package com.logos.common.update;

/**
 * @author Young Ken
 */
public interface IDownloadAgent extends OnDownloadListener {

    /**
     * get info
     * @return UpdateInfo
     */
    UpdateInfo getInfo();

    /**
     * set error
     * @param error UpdateError
     */
    void setError(UpdateError error);
}
